The SimpleMenu Component > FSimpleMenu.getAxis() |
FSimpleMenu.getAxis()
Availability
Flash Player 6.
Usage
sm_instance.getAxis()
Parameters
None.
Returns
String; either vertical or horizontal.
Description
Retrieves the axis of the SimpleMenu component.
Example
The following code checks to make sure the axis is vertical; if it isn't, it sets it to vertical:
if (sm.getAxis() != "vertical")
{
sm.setAxis("vertical");
}
See also